package com.xdtech.trans.model;

import java.io.Serializable;
import java.util.Date;
import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.xdtech.core.model.BaseModel;

/**
 * 
 * @author max.zheng
 * @create 2015-07-04 21:24:57
 * @since 1.0
 * @see 
 */
@Entity
@Table(name="TRANS_PRICE_CONFIG")
public class PriceConfig extends BaseModel implements Serializable{
	private static final long serialVersionUID = 1L;
	@Id
	@Column(name = "ID")
	@GeneratedValue(strategy = GenerationType.AUTO)
	private Long id;
	@Column(name="FIRST_WEIGHT")
	private Double firstWeight;
	@Column(name="FIRST_PRICE")
	private Double firstPrice;
	@Column(name="ADD_WEIGHT")
	private Integer addWeight;
	@Column(name="ADD_PRICE")
	private Double addPrice;
	@Column(name="LINK_WEBSITE")
	private String linkWebsite;
	@Column(name="LINK_WEBSITE_ID")
	private Long linkWebsiteId;
	@Column(name="LINK_WS_ACCOUNT")
	private String linkWebsiteAccount;
	@Column(name="LINK_WS_ACCOUNT_ID")
	private Long linkWebsiteAccountid;
	@Column(name="IS_TAG_DELIVERY")
	private String isTargetDEliver;
	@Column(name="LINK_PRICE")
	private Double linkPrice;
	@Column(name="DELIVERY_PRICE")
	private Double deliveryPrice;
	@Column(name="ADD_DELIVERY_PRICE")
	private Double addDeliveryPrice;

	public void setId(Long id) {
		this.id = id;
	}
	public Long getId() {
		return id;
	}
	public void setFirstWeight(Double firstWeight) {
		this.firstWeight = firstWeight;
	}
	public Double getFirstWeight() {
		return firstWeight;
	}
	public void setFirstPrice(Double firstPrice) {
		this.firstPrice = firstPrice;
	}
	public Double getFirstPrice() {
		return firstPrice;
	}
	public void setAddWeight(Integer  addWeight) {
		this. addWeight =  addWeight;
	}
	public Integer getAddWeight() {
		return  addWeight;
	}
	public void setAddPrice(Double addPrice) {
		this.addPrice = addPrice;
	}
	public Double getAddPrice() {
		return addPrice;
	}
	public void setLinkWebsite(String linkWebsite) {
		this.linkWebsite = linkWebsite;
	}
	public String getLinkWebsite() {
		return linkWebsite;
	}
	public void setLinkWebsiteAccount(String linkWebsiteAccount) {
		this.linkWebsiteAccount = linkWebsiteAccount;
	}
	public String getLinkWebsiteAccount() {
		return linkWebsiteAccount;
	}
	public void setIsTargetDEliver(String isTargetDEliver) {
		this.isTargetDEliver = isTargetDEliver;
	}
	public String getIsTargetDEliver() {
		return isTargetDEliver;
	}
	public void setLinkPrice(Double linkPrice) {
		this.linkPrice = linkPrice;
	}
	public Double getLinkPrice() {
		return linkPrice;
	}
	public void setDeliveryPrice(Double deliveryPrice) {
		this.deliveryPrice = deliveryPrice;
	}
	public Double getDeliveryPrice() {
		return deliveryPrice;
	}
	public void setAddDeliveryPrice(Double addDeliveryPrice) {
		this.addDeliveryPrice = addDeliveryPrice;
	}
	public Double getAddDeliveryPrice() {
		return addDeliveryPrice;
	}
	public Long getLinkWebsiteId()
	{
		return linkWebsiteId;
	}
	public void setLinkWebsiteId(Long linkWebsiteId)
	{
		this.linkWebsiteId = linkWebsiteId;
	}
	public Long getLinkWebsiteAccountid()
	{
		return linkWebsiteAccountid;
	}
	public void setLinkWebsiteAccountid(Long linkWebsiteAccountid)
	{
		this.linkWebsiteAccountid = linkWebsiteAccountid;
	}
	
	
}
